package com.meichis.yndms.vm;

import androidx.lifecycle.MutableLiveData;

import com.meichis.yndms.repository.manager.SyncBaseDataManager;

/**
 * @author xmy
 * @title
 * @remake
 * @create 2021-05-08 15:26
 */
public class SyncBaseDataVM extends MyViewModel {
//    private MutableLiveData<List<VisitTemplate>> visitTemplateList;
//
//
//    public MutableLiveData<List<VisitTemplate>> getVisitTemplateList() {
//        if (visitTemplateList == null){
//            visitTemplateList = new MutableLiveData<>();
//        }
//        return visitTemplateList;
//    }

    public void GetVisitTemplateList(){
        SyncBaseDataManager.getInstance().GetVisitTemplateList(getShowDialog(),new MutableLiveData<>());
    }

}
